package com.joysuch.wwyt.edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joysuch.wwyt.edu.entity.EduCertificateNotify;
import com.joysuch.wwyt.edu.entity.EduCourseLearnHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EduCourseLearnHistoryMapper extends BaseMapper<EduCourseLearnHistory> {

    EduCourseLearnHistory findByCourseawareIdAndUserId(@Param("id") Long id, @Param("currentUserId") Long currentUserId, @Param("trainingId") Long trainingId);

}
